home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 97
/
097.d81
/
walt's comix
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
5KB
|
180 lines
1 poke55,0:poke56,56:clr:poke53281,0:poke53280,0:print"[147]"
2 dv=peek(186):ifdv<8thendv=8
3 gosub60000:rem goto7
4 sys57812"cm/scr/wp/unp",dv,0:poke780,0:poke781,0:poke782,195:sys65493
5 sys57812"psb font",dv,0:poke780,0:poke781,0:poke782,56:sys65493
7 un=51456:hg=51459:wp=50944:sc=50176:cm=49920:poke53272,31
8 gosub1000
9 cl$=" "
10 sp$=" "
15 sys50176,64,96,216
19 goto100
20 fori=15to24:poke781,i:sys59903:next
21 return
100 fori=1to8:readmn$(i):next
102 data" [211]abu "
103 data" [193]nnie! "
104 data" [196]octor and [206]urse "
105 data" [193]ngry [195]lient "
106 data" [205]onkey and [205]odel "
107 data" [199]oldfish "
108 data" [194]ig [196]ealers "
109 data" [204][207][193][196][211][212][193][210] [205]an "
110 b$(0)="[158][176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174]
112 b$(1)[178]"(NULL) (NULL)
114 b$(2)="[173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189]
115 zz[178]0:[151]198,0
116 zz[178]zz[170]1:[161]a$:[139]a$[178]""[175]zz[179]300[167]116
117 [158]hg
118 [153]"load (NULL) atn (NULL) (NULL) ' (NULL) len (NULL) (NULL) right$ (NULL)":mm[178]0
120 [151]214,4:[153]:[153][163]6)b$(0):[129]i[178]1[164]8:[153][163]6)b$(1):[130]
122 [153][163]6)b$(2)
124 [151]214,5:[153]"list":[129]i[178]1[164]8:[153][163]7)mn$(i):[130]
125 [153]"cont (NULL)se len(NULL)(NULL)(NULL) keyscont to move highlight bar
126 print" [208]ress [210][197][212][213][210][206][154] to view highlighted comic"
128 print" [208]ress [209][154] to quit the [195][207][205][201][216]
129 m[178]1
130 [151]214,4[170]m:[153]:[153][163]7)""mn$(m)"on"
132 [161]a$:[139]a$[179][177]"on"[175]a$[179][177]""[175]a$[179][177][199](13)[175]a$[179][177]"q"[167]132
134 [139]a$[178][199](13)[167]170
136 [153][163]7)"list"mn$(m)
138 [139]a$[178]"on"[167]m[178]m[171]1:[139]m[179]1[167]m[178]8
140 [139]a$[178]""[167]m[178]m[170]1:[139]m[177]8[167]m[178]1
141 [139]a$[178]"q"[167]400
144 [137]130
170 [153]"load for(NULL)he (NULL)ighty (NULL)(NULL)atnstr$(NULL)(NULL)atn(NULL) lenaptionizer"
172 [153]"cont (NULL)ress asc1cont to toggle between this screen
174 print" and the comic."
176 print" [208]ress [198]3[154] to print the comic on a"
178 print" 1525-emulating printer.
180 [153]" (NULL)ress asc5cont to save the comic as a str$(NULL)(NULL)str$(NULL)val
182 print" picture.
184 [153]" (NULL)ress asc7cont to return to the (NULL)ain (NULL)enu.
186 print" [208]ress [195][154] to enter a caption for the"
188 print" comic.
190 [153]" (NULL)ress (NULL)cont to print out your captions."
191 [139]mm[167]200
192 [158]57812[199](m[170]48)[170]".shp",dv,0:[151]780,0:[151]781,0:[151]782,100:[158]65493
194 [151]251,100:[151]252,64:[151]253,96
196 [158]un
198 [158]hg:[151]53280,0:mm[178]1
200 [161]a$:[139]a$[178]""[167]200
201 o[178][194](53265)[175]32
202 [139]a$[178][199](133)[167][151]53270,[194](53270)[175]239:[158]hg:[137]200
204 [139]a$[178][199](134)[167][141]300:[137]210
206 [139]a$[178][199](135)[167][141]350:[137]200: [143] save
208 [139]a$[179][177][199](136)[167]212
210 [139]o[167][158]hg
211 [137]118
212 [139]a$[179][177]"c"[167]250
213 [141]20:[139]o[167][158]hg
214 [151]214,15:[153]:[153]"open valnter one or two lines for the
216 print" caption, pressing [210][197][212][213][210][206][159] at the end
218 [153]" of each line.
220 print" ";:l9=37:gosub50000:c$(m,0)=q9$+chr$(13)
222 print" ";:l9=37:gosub50000:c$(m,1)=q9$+chr$(19)
224 gosub20
226 poke214,15:print:print"[159] [201]s this correct? (y[159]/n[159]/m[159]enu)
228 [153]" "c$(m,0);
230 [153]" "c$(m,1)
232 [161]a$:[139]a$[179][177]"y"[175]a$[179][177]"n"[175]a$[179][177]"m"[167]232
233 [141]20
234 [139]a$[178]"n"[167]214
236 [139]a$[178]"m"[167]118
238 [158]hg
240 [151]56334,[194](56334)[175]254:[151]1,[194](1)[175]251
242 [158]50182,1,23,"stop"[170]sp$[170][199](13):[158]50182,1,24,sp$[170][199](19)
243 [129]i[178]0[164]1:[158]50182,1,23[170]i,c$(m,i):[130]
244 [151]1,[194](1)[176]4:[151]56334,[194](56334)[176]1
246 [137]170
250 [139]a$[179][177]"p"[167]200
251 [139][194](53265)[175]32[167][158]hg
252 [159]4,4,7:[160]4:[139]st[179][177][171]128[167]266
254 q[178]q[170]1
256 [141]20:[151]214,16:[153]
258 [153]" (NULL)urn your printer on - press a key"
260 [161]a$:[139]a$[178]""[167]260
262 [139]q[177]1[167]118
264 [137]252
266 [141]20
268 [151]214,16:[153]:[153]"cont (NULL)et top of form and press a key.
269 geta$:ifa$=""then269
270 open4,4,7
272 fori=1to8
274 print#4,mn$(i):print#4
276 forj=0to1:iflen(c$(i,j))<2then280
278 print#4,left$(c$(i,j),len(c$(i,j))-1)
280 next:print#4
282 next
284 close4:goto170
300 q=0
301 open4,4,7:close4:ifst<>-128then320
302 q=q+1:ifpeek(53265)and32thensyshg
304 gosub20:poke214,16:print
306 print" [212]urn your printer on - press a key"
308 geta$:ifa$=""then308
310 ifq>1then118
312 goto301
320 gosub20:pokewp+10,64:syswp
322 poke53281,0:return
350 ifpeek(53265)and32thensyshg
352 gosub20
354 poke214,15:print:print"[159] [197]nter a filename for the comic.
356 [153]"cont ----------------
358 print"[145][145] dd";:l9=14:gosub50000:f$="dd"+q9$
360 poke214,20:print:print"[159] [197]nter the drive number: ";:l9=2:gosub50000:dn=val(q9$)
361 ifq9$=""thengosub20:goto170
362 open2,dn,2:close2:ifst<>-128then370
364 poke781,21:sys59903:goto360
370 syscm,96*256,128*256,4*256
372 syscm,64*256,96*256,32*256
373 syscm,128*256,92*256,4*256
374 sys57812f$,dn:poke193,0:poke194,92:poke174,0:poke175,128:sys62954
376 open15,dn,15:input#15,er,er$,a,a:close15
378 poke214,22:print:ifer=0then390
380 print" [150]"er$" - press a key"
382 geta$:ifa$=""then382
384 goto200
390 print" [212]he save was a success!"
392 fort=1to1000:next
394 syscm,96*256,64*256,32*256
396 syscm,128*256,96*256,4*256
398 goto170
400 poke214,22:print:printcl$:printcl$"[145][145]"
405 print" [209]uit[150] to [204][207][193][196][211][212][193][210]? (y[150]/n[150])"
410 geta$:ifa$<>"y"anda$<>"n"then410
420 ifa$="n"then118
430 open15,8,15,"r0:hello connect=hello connect":input#15,er%:close15
440 ifer%<>63thenprint"[147]":end
445 poke646,peek(53281)
450 print"[147]load"chr$(34)"hello connect"chr$(34)",8"
460 print"run"
470 poke631,13:poke632,13:poke198,2:end
1000 sys57812"comix.shp",dv,0:poke780,0:poke781,0:poke782,100:sys65493
1010 poke251,100:poke252,64
1020 poke253,96
1030 print"[147]";:sysun:syshg:poke53280,0
1050 return
10000 open15,8,15,"s0:walt's comix":close15:save"walt's comix",8:end
50000 q9$="":u9=53280:poke198,0
50010 getaa$
50020 poke646,rnd(1)*15+1:print"[164][157]";:ifaa$=""then50010
50030 ifaa$=chr$(13)thenprint" ":return
50040 if(aa$=chr$(20)andlen(q9$))thenq9$=left$(q9$,len(q9$)-1):goto50090
50050 iflen(q9$)>=l9thent9%=peek(u9):pokeu9,1:pokeu9,t9%:goto50010
50060 ifaa$<" "or(aa$>chr$(127)andaa$<chr$(160))oraa$=chr$(34)then50010
50070 q9$=q9$+aa$
50080 print""aa$;:goto50010
50090 print" [157][157] [157]";:goto50010
60000 print"[147]":z$=" [152] ":poke214,10:print
60010 print" [155][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184]":fori=0to11:printz$:next
60020 print" [151][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][152]"
60030 z$(0)="[215] [193] [204] [212] ' [211] [195] [207] [205] [201] [216]":z$(1)="by [215]alt [200]arned"
60040 z$(2)="[214]1.0 ([195]) 1992 by [211]oftdisk, [201]nc."+chr$(13)
60050 z$(3)="[212]his program is the copyrighted work
60060 z$(4)[178]"of (NULL)(NULL)asc(NULL)str$right$(NULL)(NULL) (NULL)(NULL)peek(NULL)right$(NULL)left$right$(NULL)chr$. right$t is not"
60070 z$(5)[178]"shareware or in the public domain."
60080 z$(6)[178]"(NULL)eport illegal distribution of":z$(7)